/**
 * jQuery EasyUI 1.4.4
 * 
 * Copyright (c) 2009-2015 www.jeasyui.com. All rights reserved.
 *
 * Licensed under the freeware license: http://www.jeasyui.com/license_freeware.php
 * To use it on other terms please contact us: info@jeasyui.com
 *
 */
(function(){
var _1={ajaxfileupload:{js:"../extend/ajaxFileUpload.js"},
		draggable:{js:"jquery.draggable.js"},
		droppable:{js:"jquery.droppable.js"},
		resizable:{js:"jquery.resizable.js"},
		linkbutton:{js:"jquery.linkbutton.js",css:"linkbutton.css"},
		progressbar:{js:"jquery.progressbar.js",css:"progressbar.css"},
		tooltip:{js:"jquery.tooltip.js",css:"tooltip.css"},
		pagination:{js:"jquery.pagination.js",css:"pagination.css",dependencies:["linkbutton"]},
		datagrid:{js:"jquery.datagrid.js",css:"datagrid.css",dependencies:["panel","resizable","linkbutton","pagination"]},
		datagridcellediting:{js:"datagrid.cellediting.js",dependencies:["datagrid"]},
		treegrid:{js:"jquery.treegrid.js",css:"tree.css",dependencies:["datagrid"]},
		propertygrid:{js:"jquery.propertygrid.js",css:"propertygrid.css",dependencies:["datagrid"]},
		datalist:{js:"jquery.datalist.js",css:"datalist.css",dependencies:["datagrid"]},
		panel:{js:"jquery.panel.js",css:"panel.css",dependencies:["form"],onLoad:function(){
			$.fn.panel.defaults.loadingMessage = '<div class="loadding" style="z-index: 1000;position: absolute;width:100%;height: 100%;background: rgba(221, 221, 221, 0.53);text-align: center;"><div style="background: #fff;width: 100px;padding: 10px;border-radius: 5px;position: absolute;margin-top: -50px;top: 50%;left: 50%;margin-left: -60px;"><i class="fa fa-spinner fa-spin fa-3x fa-fw" style="color:#09f;"></i><span style="display:block;">加载中，请稍后....</span></div></div>';
		}},
		window:{js:"jquery.window.js",css:"window.css",dependencies:["resizable","draggable","panel"]},
		/*dialog:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"]},*/
		dialog_normal:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"],onLoad:function(){
//			$.extend(true,$.fn.dialog.defaults,{ openAnimation:"animated", closeAnimation:"animated", animateIn:"flipInX", animateOut:"flipOutX" });
		}},
		dialog:{js:"../extend/jquery.dialog.js",dependencies:["dialog_normal"]},
		messager:{js:"../../component/alerts.js"},
		layout:{js:"jquery.layout.js",css:"layout.css",dependencies:["resizable","panel"],onLoad:function(){
//			$.extend(true,$.fn.layout.paneldefaults,{ openAnimation:"animated", closeAnimation:"animated", animateIn:"fadeInDown", animateOut:"fadeOut" })
		}},
		/*form:{js:"jquery.form.js"},*/
		form_normal:{js:"jquery.form.js"},
		form:{js:"../extend/jquery.form.js",dependencies:["form_normal"]},
		menu:{js:"jquery.menu.js",css:"menu.css"},
		/*menu_normal:{js:"jquery.menu.js",css:"menu.css"},
		menu:{js:"../extend/jquery.menu.js",css:"menu.css",dependencies:["menu_normal"]},*/
		tabs:{js:"jquery.tabs.js",css:"tabs.css",dependencies:["panel","linkbutton"]},
		menubutton:{js:"jquery.menubutton.js",css:"menubutton.css",dependencies:["linkbutton","menu"]},
		splitbutton:{js:"jquery.splitbutton.js",css:"splitbutton.css",dependencies:["menubutton"]},
		switchbutton:{js:"jquery.switchbutton.js",css:"switchbutton.css"},
		accordion:{js:"jquery.accordion.js",css:"accordion.css",dependencies:["panel"]},
		calendar:{js:"jquery.calendar.js",css:"calendar.css"},
		textbox:{js:"jquery.textbox.js",css:"textbox.css",dependencies:["validatebox","linkbutton"],onLoad:function(){
			$.extend(true,$.fn.textbox.defaults,{width:200});
		}},
		filebox:{js:"jquery.filebox.js",css:"filebox.css",dependencies:["textbox"]},
		combo:{js:"jquery.combo.js",css:"combo.css",dependencies:["panel","textbox"]},
		//combobox:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"]},
		combobox_normal:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"],onLoad:function(){
			$.extend(true,$.fn.combobox.defaults,{width:200});
		}},
		combobox:{js:"../extend/jquery.combobox.js",dependencies:["combobox_normal"]},
		tree:{js:"jquery.tree.js",css:"tree.css",dependencies:["draggable","droppable"]},
		combotree:{js:"jquery.combotree.js",dependencies:["combo","tree"]},
		combogrid:{js:"jquery.combogrid.js",dependencies:["combo","datagrid"]},
		/*validatebox:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},*/
		validatebox_normal:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},
		validatebox:{js:"../extend/jquery.validatebox.js",dependencies:["validatebox_normal"],onLoad:function(){
//			if ($.parser) {
//				$.parser.onComplete = function(ele){
//					if(!ele){
//						var input = $("input").add($("textarea")).filter(function(){
//							return !$(this).is(":hidden");
//						});
//						input.closest("tr").add(input.closest(".clear"))
//						.addClass("zoomInRight animated").one('animationend', function(){
//							$(this).removeClass("zoomInRight animated");
//						});
//					}
//				}
//				$.parser.parseold = $.parser.parse;
//				$.parser.parse = function(ele){
//					if(ele){
//						var input = $(ele).find("input").add($(ele).find("textarea")).filter(function(){
//							return !$(this).is(":hidden");
//						});
//						input.closest("tr").add(input.closest(".clear"))
//						.addClass("zoomInRight animated").one('animationend', function(){
//							$(this).removeClass("zoomInRight animated");
//						});
//					}
//					$.parser.parseold(ele);
//				}
//			}
		}},
		numberbox:{js:"jquery.numberbox.js",dependencies:["textbox"],onLoad:function(){
			$.extend(true,$.fn.numberbox.defaults,{width:200});
		}},
		searchbox:{js:"jquery.searchbox.js",css:"searchbox.css",dependencies:["menubutton","textbox"]},
		spinner:{js:"jquery.spinner.js",css:"spinner.css",dependencies:["textbox"]},
		numberspinner:{js:"jquery.numberspinner.js",dependencies:["spinner","numberbox"]},
		timespinner:{js:"jquery.timespinner.js",dependencies:["spinner"]},
		datetimespinner:{js:"jquery.datetimespinner.js",dependencies:["timespinner","calendar"]},
		ztreebase:{js:"../../component/jquery.ztree.core-3.5.js",css:"../../../component/ztreeStyle.css"},
		ztree_exhide:{js:"../../component/jquery.ztree.exhide.min.js",dependencies:["ztreebase"]},
		ztree:{js:"../../component/ztree.check.js",css:"../../../component/ztreeStyle.css",dependencies:["ztree_exhide"]},
		video:{js:"../../component/html5media.js"},
		ztreebox:{js:"../extend/jquery.ztreebox.js",css:"combo.css",dependencies:["ztree"]},
		upload:{js:"../extend/jquery.upload.js",dependencies:["dialog","textbox"]},
		ztreeboxeditor:{js:"../extend/jquery.datagrid.editor.ztreebox.js",dependencies:["ztreebox","datagrid"]},
		uploadeditor:{js:"../extend/jquery.datagrid.ztreebox.upload.js",dependencies:["upload","datagrid"]},
		ztreepanel:{js:"jquery.ztreepanel.js",css:"../../../component/ztreeStyle.css",dependencies:["ztree_exhide","menu"]},
		/*datebox:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"]},*/
		datebox_normal:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"],onLoad:function(){
			$.extend(true,$.fn.datebox.defaults,{width:200});
		}},
		datebox:{js:"../extend/jquery.datebox.js",css:"datebox.css",dependencies:["datebox_normal"]},
		datetimebox:{js:"jquery.datetimebox.js",dependencies:["datebox","timespinner"]},
		slider:{js:"jquery.slider.js",dependencies:["draggable"]},
		mapbox:{js:"../extend/jquery.mapbox.js",dependencies:["dialog","textbox"]},
		treebox:{js:"../extend/jquery.treebox.js",dependencies:["ztree","dialog"]},
		cropper:{js:"../depend/cropper.js",css:"../../depend/cropper.css"},
		corp:{js:"../extend/jquery.corp.js",dependencies:["dialog","cropper"]},
		umeditorconfig:{js:"../depend/ueditor/umeditor.config.js"},
		umeditor:{js:"../depend/ueditor/umeditor.js",css:"../../depend/ueditor/themes/default/css/umeditor.min.css",dependencies:["umeditorconfig"]},
		ueditor:{js:"../extend/jquery.ueditor.js",dependencies:["validatebox","umeditor"]},
		parser:{js:"jquery.parser.js"},mobile:{js:"jquery.mobile.js"},
		file_upload_widget:{js:"../../jqueryfileUpload/vendor/jquery.ui.widget.js"},
		file_upload_transport:{js:"../../jqueryfileUpload/jquery.iframe-transport.js",dependencies:["file_upload_widget"]},
		file_upload_fileupload:{js:"../../jqueryfileUpload/jquery.fileupload.js",dependencies:["file_upload_transport"]},
		file_upload_process:{js:"../../jqueryfileUpload/jquery.fileupload-process.js",dependencies:["file_upload_fileupload"]},
		file_upload:{js:"../../jqueryfileUpload/jquery.fileupload-validate.js",dependencies:["file_upload_process"]},
		fullcalendar_moment: {js: "../../fullcalendar/lib/moment.min.js",css:"../../../fullcalendar/css/fullcalendar.css"},
		fullcalendar_zhcn: {js: "../../fullcalendar/fullcalendar.js",dependencies:["fullcalendar_moment"]},
		fullcalendar: {js: "../../fullcalendar/zh-cn.js", dependencies:["fullcalendar_zhcn"]},
		echarts:{js:"../../echart/echarts.min.js"},
		caret:{js:"../../component/atwho/js/jquery.caret.js"},
		atwho:{js:"../../component/atwho/js/jquery.atwho.js",css:"../../../component/atwho/css/jquery.atwho.css", dependencies:["caret"]},
		vitoat:{js:"../../component/atwho/js/vito.atwho.js",css:"../../../component/atwho/css/vito.atwho.css", dependencies:["atwho"]}
		};
var _2={"en":"easyui-lang-en.js","zh_CN":"easyui-lang-zh_CN.js","zh_TW":"easyui-lang-zh_TW.js"};
var _3={};
function _4(_5,_6){
var _7=false;
var _8=document.createElement("script");
_8.type="text/javascript";
_8.language="javascript";
_8.src=_5;
_8.onload=_8.onreadystatechange=function(){
if(!_7&&(!_8.readyState||_8.readyState=="loaded"||_8.readyState=="complete")){
_7=true;
_8.onload=_8.onreadystatechange=null;
if(_6){
_6.call(_8);
}
}
};
document.getElementsByTagName("head")[0].appendChild(_8);
};
function _9(_a,_b){
_4(_a,function(){
document.getElementsByTagName("head")[0].removeChild(this);
if(_b){
_b();
}
});
};
function _c(_d,_e){
var _f=document.createElement("link");
_f.rel="stylesheet";
_f.type="text/css";
_f.media="screen";
_f.href=_d;
document.getElementsByTagName("head")[0].appendChild(_f);
if(_e){
_e.call(_f);
}
};
function _10(_11,_12){
_3[_11]="loading";
var _13=_1[_11];
var _14="loading";
var _15=(easyloader.css&&_13["css"])?"loading":"loaded";
if(easyloader.css&&_13["css"]){
if(/^http/i.test(_13["css"])){
var url=_13["css"];
}else{
var url=easyloader.base+"themes/"+easyloader.theme+"/"+_13["css"];
}
_c(url,function(){
_15="loaded";
if(_14=="loaded"&&_15=="loaded"){
_16();
}
});
}
if(/^http/i.test(_13["js"])){
var url=_13["js"];
}else{
var url=easyloader.base+"plugins/"+_13["js"];
}
_4(url,function(){
_14="loaded";
if(_14=="loaded"&&_15=="loaded"){
_16();
}
});
function _16(){
_3[_11]="loaded";
easyloader.onProgress(_11);
if(_12){
_12();
}
};
};
function _17(_18,_19){
var mm=[];
var _1a=false;
if(typeof _18=="string"){
add(_18);
}else{
for(var i=0;i<_18.length;i++){
add(_18[i]);
}
}
function add(_1b){
if(!_1[_1b]){
return;
}
var d=_1[_1b]["dependencies"];
if(d){
for(var i=0;i<d.length;i++){
add(d[i]);
}
}
mm.push(_1b);
};
function _1c(){
if(_19){
_19();
}
easyloader.onLoad(_18);
};
var _1d=0;
function _1e(){
if(mm.length){
var m=mm[0];
if(!_3[m]){
_1a=true;
_10(m,function(){
mm.shift();
_1e();
});
}else{
if(_3[m]=="loaded"){
mm.shift();
_1e();
}else{
if(_1d<easyloader.timeout){
_1d+=10;
setTimeout(arguments.callee,10);
}
}
}
}else{
if(easyloader.locale&&_1a==true&&_2[easyloader.locale]){
var url=easyloader.base+"locale/"+_2[easyloader.locale];
_9(url,function(){
_1c();
});
}else{
_1c();
}
}
};
_1e();
};
easyloader={modules:_1,locales:_2,base:".",theme:"bootstrap",css:true,locale:"zh_CN",timeout:2000,load:function(_1f,_20){
if(/\.css$/i.test(_1f)){
if(/^http/i.test(_1f)){
_c(_1f,_20);
}else{
_c(easyloader.base+_1f,_20);
}
}else{
if(/\.js$/i.test(_1f)){
if(/^http/i.test(_1f)){
_4(_1f,_20);
}else{
_4(easyloader.base+_1f,_20);
}
}else{
_17(_1f,_20);
}
}
},onProgress:function(_21){
if(this.modules[_21]){
(this.modules[_21].onLoad||function(){})();
}
},onLoad:function(_22){
}};
var _23=document.getElementsByTagName("script");
for(var i=0;i<_23.length;i++){
var src=_23[i].src;
if(!src){
continue;
}
var m=src.match(/easyloader\.js(\W|$)/i);
if(m){
easyloader.base=src.substring(0,m.index);
}
}
window.using=easyloader.load;
if(window.jQuery){
jQuery(function(){
easyloader.load("parser",function(){
jQuery.parser.parse();
});
});
}

Date.prototype.format = function(fmt){    var o = { "M+": this.getMonth() + 1, "d+": this.getDate(), "h+": this.getHours(), "m+": this.getMinutes(), "s+": this.getSeconds(), "q+": Math.floor((this.getMonth() + 3) / 3), "S": this.getMilliseconds() }; if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length)); for (var k in o) if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length))); return fmt; }
})();

